all:publish consume
publish:publish.cc
	g++ -o $@ $^ -std=c++17 -lamqpcpp -lev -lpthread -ldl -lgflags -lspdlog -lfmt
consume:consume.cc
	g++ -o $@ $^ -std=c++17 -lamqpcpp -lev -lpthread -ldl -lgflags -lspdlog -lfmt

.PHONY:clean
clean:
	rm -rf publish consume